package com.zwz.model.basic;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;

@Data
public class ChangeRecord {
    @JsonProperty("postAlters")
    private List<String> newValues;

    @JsonProperty("alterItem")
    private String changeType;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonProperty("alterDate")
    private Date changeDate;

    @JsonProperty("preAlters")
    private List<String> oldValues;
}